﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface IEvalItemsLogic : IMultiCommonLogic<EvalItems, int>
    {
        IList<Hashtable> GetAllStyleTableClsInfo(bool bGetSytleTableInfo, String schoolMark);
        IList<Hashtable> GetAllStyleTableClsInfo(bool bGetSytleTableInfo, String schoolMark, int evalType);

        bool DeleteStyleTableCls(int stclsId, String schoolMark);

        /// <summary>
        /// 查询多个EvalItems
        /// </summary>
        /// <param name="idList"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        IList<EvalItems> FindEvalItemsByIdList(string idList, string schoolMark);

        /// <summary>
        /// 查询多个EvalItems
        /// </summary>
        /// <param name="teacherID"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        IList<EvalItems> FindEvalItemsByTeacherID(int teacherID, string schoolMark);

        /// <summary>
        /// 插入题目类别
        /// </summary>
        int CreateEvalItems(EvalItems evalItems, string schoolMark);

        /// <summary>
        /// 更新题目类别
        /// </summary>
        int UpdateEvalItems(EvalItems evalItems, string schoolMark);

        /// <summary>
        /// 根据样表ID查询EvalItems
        /// </summary>
        /// <param name="templateID"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        EvalItems FindEvalItemsByTemplateID(int templateID, string schoolMark);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="evalType"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        IList<EvalItems> FindEvalItemsByEvalType(EvalType evalType, string schoolMark);
    }
}
